import {createApp} from 'vue'
import './style.css'
import App from './App.vue'
import store from "./store"
import router from './router'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'


const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
declare module "@vue/runtime-core" {
    interface ComponentCustomProperties {
        $store: any // 为 `this.$store` 提供类型声明
    }
}

app.use(store).use(router).mount('#app')
